<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <span><vc:i18n name="查询条件" namespace="parkingBoxManage"></vc:i18n></span>
                    </h5>
                    <div class="ibox-tools" style="top:10px;"></div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入岗亭编号','parkingBoxManage')" v-model="parkingBoxManageInfo.conditions.boxId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入岗亭名称','parkingBoxManage')" v-model="parkingBoxManageInfo.conditions.boxName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <select class="custom-select" v-model="parkingBoxManageInfo.conditions.tempCarIn">
                                <option selected value="">{{vc.i18n('请选择临时车进场','parkingBoxManage')}}</option>
                                <option value="Y">{{vc.i18n('是','parkingBoxManage')}}</option>
                                <option value="N">{{vc.i18n('否','parkingBoxManage')}}</option>
                            </select>
                        </div>
                        <div class="col-sm-2">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryParkingBoxMethod()">
                                <i class="fa fa-search"></i>
                                <span><vc:i18n name="查询" namespace="parkingBoxManage"></vc:i18n></span>
                            </button>
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_resetParkingBoxMethod()">
                                <i class="fa fa-repeat"></i>
                                <span><vc:i18n name="重置" namespace="parkingBoxManage"></vc:i18n></span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5><span><vc:i18n name="岗亭信息" namespace="parkingBoxManage"></vc:i18n></span></h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddParkingBoxModal()">
                            <i class="fa fa-plus"></i>添加
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <span><vc:i18n name="岗亭编号" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="岗亭名称" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="停车场" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="临时车进场" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="是否收费" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="已在场" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="未在场" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="备注" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                                <th class="text-center">
                                    <span><vc:i18n name="操作" namespace="parkingBoxManage"></vc:i18n></span>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="parkingBox in parkingBoxManageInfo.parkingBoxs">
                                <td class="text-center">{{parkingBox.boxId}}</td>
                                <td class="text-center">{{parkingBox.boxName}}</td>
                                <td class="text-center">{{parkingBox.paNum}}</td>
                                <td class="text-center">{{parkingBox.tempCarIn== 'Y'?'是':'否'}}</td>
                                <td class="text-center">{{parkingBox.fee == 'Y'?'是':'否'}}</td>
                                <td class="text-center">{{parkingBox.blueCarIn== 'Y'?'可进场':'不可进场'}}</td>
                                <td class="text-center">{{parkingBox.yelowCarIn== 'Y'?'可出场':'不可出场'}}</td>
                                <td class="text-center">{{parkingBox.remark}}</td>
                                <td class="text-center">
                                    <div class="btn-group" v-if="vc.hasPrivilege('502022090982540017')">
                                        <button class="btn-white btn btn-xs" v-on:click="_parkingBoxArea(parkingBox)">
                                        <span><vc:i18n name="共享岗亭" namespace="parkingBoxManage"></vc:i18n></span>
                                    </button>
                                    </div>
                                    <div class="btn-group" v-if="vc.hasPrivilege('502022090904120022')">
                                        <button class="btn-white btn btn-xs" v-on:click="_openParkingAreaControl(parkingBox)">
                                        <span><vc:i18n name="控制台" namespace="parkingBoxManage"></vc:i18n></span>
                                    </button>
                                    </div>
                                    <div class="btn-group" v-if="vc.hasPrivilege('502022090964370018')">
                                        <button class="btn-white btn btn-xs" v-on:click="_openEditParkingBoxModel(parkingBox)">
                                        <span><vc:i18n name="修改" namespace="parkingBoxManage"></vc:i18n></span>
                                    </button>
                                    </div>
                                    <div class="btn-group" v-if="vc.hasPrivilege('502022090909800019')">
                                        <button class="btn-white btn btn-xs" v-on:click="_openDeleteParkingBoxModel(parkingBox)">
                                        <span><vc:i18n name="删除" namespace="parkingBoxManage"></vc:i18n></span>
                                    </button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="9">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="property/addParkingBox" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="property/editParkingBox"></vc:create>
    <vc:create path="property/deleteParkingBox"></vc:create>
</div>